Fully Dynamic All Pairs All Shortest Paths
نویسندگان
چکیده
We consider the all pairs all shortest paths (APASP) problem, which maintains all of the multiple shortest paths for every vertex pair in a directed graph G = (V,E) with a positive real weight on each edge. We present a fully dynamic algorithm for this problem in which an update supports either weight increases or weight decreases on a subset of edges incident to a vertex. Our algorithm runs in amortized O(ν · log n) time per update, where n = |V |, and ν bounds the number of edges that lie on shortest paths through any single vertex. Our APASP algorithm leads to the same amortized bound for the fully dynamic computation of betweenness centrality (BC), which is a parameter widely used in the analysis of large complex networks. Our method is a generalization and a variant of the fully dynamic algorithm of Demetrescu and Italiano [3] for unique shortest paths, and it builds on very recent work on decremental APASP [11]. Our algorithm matches the fully dynamic amortized bound in [3] for graphs with unique shortest paths, though our method, and especially its analysis, are different.
منابع مشابه
Fully Dynamic Algorithms for Maintaining All-Pairs Shortest Paths and Transitive Closure in Digraphs
This paper presents the first fully dynamic algorithms for maintaining all-pairs shortest paths in digraphs with positive integer weights less than b. For approximate shortest paths with an error factor of (2 + ), for any positive constant , the amortized update time isO(n2 log n= log logn); for an error factor of (1 + ) the amortized update time is O(n2 log3(bn)= 2). For exact shortest paths t...
متن کاملFully Dynamic All-Pairs Shortest Paths: Breaking the O(n) Barrier
A fully dynamic approximate distance oracle is a distance reporting data structure that supports dynamic insert edge and delete edge operations. In this paper we break a longstanding barrier in the design of fully dynamic all-pairs approximate distance oracles. All previous results for this model incurred an amortized cost of at least Ω(n) per operation. We present the first construction that p...
متن کاملA Fully Dynamic Algorithm for Distributed Shortest Paths
We propose a fully-dynamic distributed algorithm for the all-pairs shortest paths problem on general networks with positive real edge weights. If ∆σ is the number of pairs of nodes changing the distance after a single edge modification σ (insert, delete, weight decrease, or weight increase) then the message complexity of the proposed algorithm is O(n∆σ) in the worst case, where n is the number ...
متن کاملAverage Update Times for Fully-Dynamic All-Pairs Shortest Paths
We study the fully-dynamic all pairs shortest path problem for graphs with arbitrary non-negative edge weights. It is known for digraphs that an update of the distance matrix costs Õ(n) worst-case time [Thorup, STOC ’05] and Õ(n) amortized time [Demetrescu and Italiano, J.ACM ’04] where n is the number of vertices. We present the first average-case analysis of the undirected problem. For a rand...
متن کاملAll - Pairs Shortest Paths in O ( n 2 ) Time with High Probability
We present an all-pairs shortest path algorithm whose running time on a complete directed graph on n vertices whose edge weights are chosen independently and uniformly at random from [0, 1] is O(n2), in expectation and with high probability. This resolves a long-standing open problem. The algorithm is a variant of the dynamic all-pairs shortest paths algorithm of Demetrescu and Italiano [2006]....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1412.3852 شماره
صفحات -
تاریخ انتشار 2014